package com.cyy.info.pojo;

import java.io.Serializable;

public class Info implements Serializable {

    private int id;

    private String name;

    private String countryCode;

    private String district;

    private int population;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCountryCode() {
        return countryCode;
    }

    public void setCountryCode(String countryCode) {
        this.countryCode = countryCode;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public int getPopulation() {
        return population;
    }

    public void setPopulation(int population) {
        this.population = population;
    }

    @Override
    public String toString() {
        return "Info{" +
                "id:" + id +
                ", 名称:'" + name + '\'' +
                ", 人口:" + population +
                '}';
    }
}
